package org.come.Frame;

import org.come.until.ScrenceUntil;
import org.come.until.flyunit;

import javax.swing.*;
import java.awt.*;
/**
 * 飞行器
 * @author Administrator
 *
 */
public class FlyJram extends JFrame {
    public FlyJram () throws Exception{


      Image image= flyunit.image;
       this.setSize(ScrenceUntil.Screen_x,ScrenceUntil.Screen_y);
        setUndecorated(true);
        this.setVisible(true);


    }

    @Override
    public void printComponents(Graphics g) {
        super.printComponents(g);
        g.drawImage(flyunit.image,ScrenceUntil.Screen_x,ScrenceUntil.Screen_y,null);

    }
}
